Entity Inventory
Inventory is the Entity definition for another entity's inventory.
Note that it is not recommended to use this class; instead, use the inventory functions available in the Entity class.
Subclass of Entity.
Functions
GetItemList () | GetItemList returns the items in the inventory. |
GetNumItems () | GetNumItems returns the number of items in the inventory. |
Functions
- GetItemList ()
-
GetItemList returns the items in the inventory.
Returns:
-
An array of Collectable objects.
- GetNumItems ()
-
GetNumItems returns the number of items in the inventory.
Returns:
-
An integer value indicating the number of objects in the inventory.